package com.activity.bean;

import java.util.ArrayList;

public class ChooseTimeBean {
    public ArrayList<TimeBean> timeBeans =new ArrayList<>();
    public String getTimeString(){
        if(timeBeans==null||timeBeans.size()==0)
            return "";

        String res="";

        for (int i=0;i<timeBeans.size();i++){
            if(i==0){
                res = timeBeans.get(i).getName();
            }else {
                res = res +"、"+timeBeans.get(i).getName().substring(2,3);
            }
        }

        return res;

    }
}
